﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace database
{
    public partial class Control_SupplierInfo : Form
    {
        public Control_SupplierInfo()
        {
            InitializeComponent();
        }

        private void MainPanel_Paint(object sender, PaintEventArgs e)
        {

        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_SupplierInfo_add csia = new Control_SupplierInfo_add();
            csia.Show();
            this.MainPanel.Controls.Add(csia);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_SupplierInfo_modify csim = new Control_SupplierInfo_modify();
            csim.Show();
            this.MainPanel.Controls.Add(csim);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_SupplierInfo_delete csid = new Control_SupplierInfo_delete();
            csid.Show();
            this.MainPanel.Controls.Add(csid);
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.MainPanel.Controls.Clear();
            Control_SupplierInfo_search csis = new Control_SupplierInfo_search();
            csis.Show();
            this.MainPanel.Controls.Add(csis);
        }
    }
}
